#!/usr/bin/env bash

# kill all screen sessions
pkill screen

screen_name=start

xx=$(screen -ls | grep ${screen_name})

if [ ! "${xx}" ];
then
    echo "will create a new screen! --- screen_name: ${screen_name}";
    screen -dmS $screen_name;
else
		echo "already created screen!";
fi

#screen -S $screen_name -X stuff "bash .start.sh\n"
#screen -S $screen_name -X stuff "bash updater_start.sh\n"
screen -S $screen_name -X stuff "python auto_updater.py\n"





